package com.mvc.model.healthmanager.archive;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.mvc.model.base.IdEntity;
@Entity
@Table(name="yh_blood_pressure")
@DynamicInsert(false)
@DynamicUpdate(false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class BloodPressure  extends IdEntity implements Serializable{	
	/**
	 * 血压随访表
	 */
	private static final long serialVersionUID = 9111852337251092382L;
	private String personId;
	private Double l_sbp;
	private Double l_dbp;
	private Double r_sbp;
	private Double r_dbp;
	private Double mbp;
	private Date creatDate;
	private Date modifyDate;
	private Date next_serviceDate;
	private Integer count;
	private String dataSource;
	private String pressureState;//血压状态
	private Date uploadTime;
	private String maxl_sbp;
	private String maxl_dbp;
	private String maxr_sbp;
	private String maxr_dbp;
	
	private String highPressure;//（收缩压）高压 
	private String lowPressure;//（舒张压）低压 
	private String pulse;//脉搏
	private String result;//结论(-1:低压；0：正常；1：高压)
	
	private Long appLocalId;
	private Integer respCode;
	public String getPersonId() {
		return personId;
	}
	public void setPersonId(String personId) {
		this.personId = personId;
	}
	public Double getL_sbp() {
		return l_sbp;
	}
	public void setL_sbp(Double l_sbp) {
		this.l_sbp = l_sbp;
	}
	public Double getL_dbp() {
		return l_dbp;
	}
	public void setL_dbp(Double l_dbp) {
		this.l_dbp = l_dbp;
	}
	public Double getR_sbp() {
		return r_sbp;
	}
	public void setR_sbp(Double r_sbp) {
		this.r_sbp = r_sbp;
	}
	public Double getR_dbp() {
		return r_dbp;
	}
	public void setR_dbp(Double r_dbp) {
		this.r_dbp = r_dbp;
	}
	public Double getMbp() {
		return mbp;
	}
	public void setMbp(Double mbp) {
		this.mbp = mbp;
	}
	public Date getCreatDate() {
		return creatDate;
	}
	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public Date getNext_serviceDate() {
		return next_serviceDate;
	}
	public void setNext_serviceDate(Date next_serviceDate) {
		this.next_serviceDate = next_serviceDate;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public String getDataSource() {
		return dataSource;
	}
	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}
	public String getPressureState() {
		return pressureState;
	}
	public void setPressureState(String pressureState) {
		this.pressureState = pressureState;
	}
	public Date getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}
	@Transient
	public String getMaxl_sbp() {
		return maxl_sbp;
	}
	@Transient
	public void setMaxl_sbp(String maxl_sbp) {
		this.maxl_sbp = maxl_sbp;
	}
	@Transient
	public String getMaxl_dbp() {
		return maxl_dbp;
	}
	@Transient
	public void setMaxl_dbp(String maxl_dbp) {
		this.maxl_dbp = maxl_dbp;
	}
	@Transient
	public String getMaxr_sbp() {
		return maxr_sbp;
	}
	@Transient
	public void setMaxr_sbp(String maxr_sbp) {
		this.maxr_sbp = maxr_sbp;
	}
	@Transient
	public String getMaxr_dbp() {
		return maxr_dbp;
	}
	@Transient
	public void setMaxr_dbp(String maxr_dbp) {
		this.maxr_dbp = maxr_dbp;
	}
	@Transient
	public String getHighPressure() {
		return highPressure;
	}
	@Transient
	public String getLowPressure() {
		return lowPressure;
	}
	@Transient
	public String getPulse() {
		return pulse;
	}
	@Transient
	public String getResult() {
		return result;
	}
	@Transient
	public void setHighPressure(String highPressure) {
		this.highPressure = highPressure;
	}
	@Transient
	public void setLowPressure(String lowPressure) {
		this.lowPressure = lowPressure;
	}
	@Transient
	public void setPulse(String pulse) {
		this.pulse = pulse;
	}
	@Transient
	public void setResult(String result) {
		this.result = result;
	}
	@Transient
	public Long getAppLocalId() {
		return appLocalId;
	}
	@Transient
	public Integer getRespCode() {
		return respCode;
	}
	@Transient
	public void setAppLocalId(Long appLocalId) {
		this.appLocalId = appLocalId;
	}
	@Transient
	public void setRespCode(Integer respCode) {
		this.respCode = respCode;
	}
	public BloodPressure(){};
}
